From: Matthias Clasen Date: Wed, 19 Oct 2022 06:40:10 +0000 (-0400) Subject: buildertool: Fix template handling X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~158^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=64cf31f3483cb085942d5ce7817230d0e972bd14;p=gtk4.git buildertool: Fix template handling We were not properly parsing the error message here, leading to badness. --- diff --git a/tools/gtk-builder-tool-validate.c b/tools/gtk-builder-tool-validate.c index aa4069fd36..688903d3dd 100644 --- a/tools/gtk-builder-tool-validate.c +++ b/tools/gtk-builder-tool-validate.c @@ -116,7 +116,7 @@ parse_template_error (const char *message, *p = '\0'; } - return TRUE; + return *class_name && *parent_name; } static gboolean